package kd.xkqj.unittest.plugin.model;

/**
 * @description: 通过正则表达式分析后的Java方法信息
 * @author feng_jun_peng
 * @create 2024-12-19 09:24 
 * @version 1.0
 */
public class JavaMethodInfo {
    private final String methodName;
    private final int startLine;
    private int endLine;

    public JavaMethodInfo(String methodName, int startLine, int endLine) {
        this.methodName = methodName;
        this.startLine = startLine;
        this.endLine = endLine;
    }

    public String getMethodName() {
        return methodName;
    }

    public int getStartLine() {
        return startLine;
    }

    public int getEndLine() {
        return endLine;
    }

    public void setEndLine(int endLine) {
        this.endLine = endLine;
    }
}
